Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(slider, loader): prevent Sass deprecation warnings from being thrown on start #3320

Merged
merged 8 commits into from
Nov 2, 2021

Conversation

caripizza
Copy link
Contributor

Related Issue: n/a (the root of the actual issue is tied to #3249)

Summary

Removes usage of the calcite-base font-size mixin in calcite-slider, and adds the calc CSS function to the calcite-loader mixin so the Sass deprecation warnings no longer appear on npm start.

@caripizza caripizza requested a review from a team as a code owner October 20, 2021 23:23
@github-actions github-actions bot added this to the Sprint 10/11 – 10/22 milestone Oct 20, 2021
@github-actions github-actions bot added the refactor Issues tied to code that needs to be significantly reworked. label Oct 20, 2021
@@ -172,7 +172,7 @@ $loader-circumference: ($loader-scale - (2 * $stroke-width)) * 3.14159;
- duration how long the segment takes to rotate 360° (seconds)
*/
@mixin generateSegment($i, $size, $growth, $duration) {
$circumference: $loader-circumference / $loader-scale * 100%;
$circumference: calc($loader-circumference / $loader-scale) * 100%;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@benelan benelan closed this Oct 21, 2021
@benelan benelan reopened this Oct 21, 2021
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@caripizza caripizza merged commit 256c3e3 into master Nov 2, 2021
@caripizza caripizza deleted the caripizza/fix-sass-deprecation-warnings branch November 2, 2021 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues tied to code that needs to be significantly reworked.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants